From 6949ec8ed044cdb8dc6bbef594716284be7bd58e Mon Sep 17 00:00:00 2001 From: parkrrrr Date: Thu, 27 May 2004 19:36:11 +0000 Subject: [PATCH] theoretical error in GPX if we had XML of the form content1content2; content2 would have been lost. --- gpx.c | 10 +++++----- mingw/Makefile | 2 +- reference/magnav.pdb | Bin 1160 -> 1160 bytes 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gpx.c b/gpx.c index 50903cd9b..9d2dc3246 100644 --- a/gpx.c +++ b/gpx.c @@ -1040,11 +1040,11 @@ fprint_xml_chain( xml_tag *tag, const waypoint *wpt ) "groundspeak:exported" ); } fprintf( ofd, "", tag->tagname); - if ( tag->parentcdata ) { - tmp_ent = xml_entitize(tag->parentcdata); - fprintf(ofd, "%s", tmp_ent ); - xfree(tmp_ent); - } + } + if ( tag->parentcdata ) { + tmp_ent = xml_entitize(tag->parentcdata); + fprintf(ofd, "%s", tmp_ent ); + xfree(tmp_ent); } tag = tag->sibling; } diff --git a/mingw/Makefile b/mingw/Makefile index 03967bc59..2f422df46 100644 --- a/mingw/Makefile +++ b/mingw/Makefile @@ -1,4 +1,4 @@ -CC=/home/robertl/cross-tools/bin/i386-mingw32msvc-gcc +CC=/usr/local/cross-tools/bin/i386-mingw32msvc-gcc VPATH=.. FILES=gpsbabel.exe libexpat.dll ../win32/gpsbabelfront.exe ../README* ../COPYING diff --git a/reference/magnav.pdb b/reference/magnav.pdb index 1a851c3ef93074d558d352e18368f42d55642eec..77be3af4cfe500cc2b1694c02c126527cb1e5071 100644 GIT binary patch delta 289 zcmeC+?BJZB!cn8Tp#g+9>NGM+GJpXi10#D5gb5_UyvfHHt?>H~X